
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="微信">
<!-- Mobile Devices Support @begin -->
<meta content="application/xhtml+xml;charset=UTF-8"
  http-equiv="Content-Type">
<meta content="no-cache,must-revalidate" http-equiv="Cache-Control">
<meta content="no-cache" http-equiv="pragma">
<meta content="0" http-equiv="expires">
<meta content="telephone=no, address=no" name="format-detection">
<meta name="viewport"
  content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<!-- apple devices fullscreen -->
<meta name="apple-mobile-web-app-status-bar-style"
  content="black-translucent" />
<!-- Mobile Devices Support @end -->
<title><{$cfg_homepage_title}></title>
<!-- bootstrap-->
<link rel="stylesheet" href="__PUBLIC__/Css/bootstrap.min.css">
<script type="text/javascript" src="__PUBLIC__/Js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/bootstrap.min.js"></script>
<!--bootstrap-->
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/style_input.css">
<script type="text/javascript">
  function link(){
    //window.open("../Index/index");
    window.location.href="__APP__/Index/index.html";

  }

  (function() { 
  var ua = window.navigator.userAgent.toLowerCase(); 
if(!(ua.match(/MicroMessenger/i) == 'micromessenger')){ 
   window.location.href="__APP__/Index/wap_err.html";
  }
})(); 
</script>

</head>
<body>
<div class="stage">
  <div class="topbox">
     <div class="huangguan">
        <img src="__PUBLIC__/Images/ph.png">
     </div>
     <div class="box">
      
      <div class="row">
        <div class="col-xs-3 col-xs-offset-2"><h4>昵称</h4></div>
        <div class="col-xs-3 "><h4>分数</h4></div>
        <div class="col-xs-3"><h4>时间</h4></div>
      </div>
      <div id="con2" style="height:60%">      
      <marquee direction="up" style="width:100%;HEIGHT:100%;font-size:15px;" scrollamount="5">
            <foreach name='scoreData' item='vo'>  
              <div class="row">
                <div class="col-xs-4 col-xs-offset-1"><{$vo.username}></div>
                <div class="col-xs-3"><{$vo.score}></div>
                <div class="col-xs-3">*<{$vo.joindate|substr=11,5}>*</div>
              </div>
            </foreach>
                          
              
              
     </marquee>

      </div>
    

     </div>
      <div class="row">  
         <button type="button" class="btn btn-warning col-xs-6 col-xs-offset-3" onclick="link()">返回游戏</button>
        
      </div>
      
  </div>
</div>
  

</body>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script>

wx.config({
    debug: false,
    appId: '<{$signPackage["appId"]}>',
    timestamp: '<{$signPackage["timestamp"]}>',
    nonceStr: '<{$signPackage["nonceStr"]}>',
    signature: '<{$signPackage["signature"]}>',
      jsApiList: [
        'onMenuShareTimeline',
        'onMenuShareAppMessage',
        'hideMenuItems'//隐藏分享按钮
  ]
  });
  
wx.ready(function () {
// 在这里调用 API
 
 shareFn();
 
 
  });
  
  wx.error(function (res) {
 
 alert(res.errMsg);
  });
  
  function shareFn() {
  //隐藏分享按钮函数
    wx.hideMenuItems({
       menuList: [
         'menuItem:copyUrl',
         'menuItem:openWithQQBrowser',
         'menuItem:share:email',
         'menuItem:openWithSafari' 
       ],
       success: function (res) {
       },
       fail: function (res) {
       }
     });
  wx.onMenuShareAppMessage({
        title: '<{$cfg_wx_share_title}>',
        desc: '<{$cfg_wx_share_desc}>',
        link: '<{$cfg_wx_share_url}>',
        imgUrl: '<{$cfg_wx_share_pic}>',
        trigger: function (res) {
          //alert('用户点击发送给朋友');
        },
        success: function (res) {
          //alert('已分享成功');
          
        },
        cancel: function (res) {
          //alert('已取消');
        },
        fail: function (res) {
         // alert(JSON.stringify(res));
        }
      });
   
   wx.onMenuShareTimeline({
        title:'<{$cfg_wx_share_desc}>',
        link: '<{$cfg_wx_share_url}>',
        imgUrl: '<{$cfg_wx_share_pic}>',
     
        trigger: function (res) {
          // alert('用户点击分享到朋友圈');
        },
        success: function (res) {
            //alert('已分享成功');
           
        },
        cancel: function (res) {
          //alert('已取消分享');
        },
        fail: function (res) {
          //alert(JSON.stringify(res));
        }
      });
  
 }


</script>
</htmL>